package top.jojoace.JPA.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import top.jojoace.JPA.model_DDL.BothWay_OneToMany.BW_School;

/**
 * public interface studentRepository extends JpaRepository<实体类,实体类主键类型>
 */
@Repository
public interface BWSchoolRepository extends JpaRepository<BW_School,Integer> {
    BW_School findOneById(int id);
}
